<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Assignment extends Model
{
    use HasFactory, SoftDeletes;

    protected $fillable = [
        'title',
        'content',
        'source',
        'subject',
        'type',
        'due_date',
        'created_by'
    ];

    protected $dates = ['due_date', 'deleted_at'];

    // ... existing code ...
} 